﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using L = Science.Mathematics.LinearAlgebra;

namespace Strang3Ed.Chapter02.Section7
{
    public class Example03
    {
        public Example03()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
        public void Compute()
        {
            double[,] x = {{1.0,2.0}};

            L.Matrix R = new L.Matrix(x);

            L.Matrix RtR = R.Transpose*R;
           
            result += RtR.ToString();

            L.Matrix RRt = R*R.Transpose;

            result += RRt.ToString();
        }
    }
}
/*
1     2     
2     4     

5      
*/


